package com.lin.handler;

import com.lin.common.rest.BaseReqMsg;
import com.lin.common.rest.ReqMsg;
import com.lin.common.rest.ResMsg;
import com.lin.config.SpringContextIniter;
import reactor.core.publisher.Mono;

public interface ModifyBodyHandler<T> {

    static ModifyBodyHandler getbean(String beanName) {
        return SpringContextIniter.getBean(beanName, ModifyBodyHandler.class);
    }

    /**
     *
     * @param baseReqMsg
     * @return ReqMsg
     */
    Mono<T> modifyBody(BaseReqMsg baseReqMsg);

}
